import request from '@/utils/request'


// 查询推广宝贝数据日报列表
export function selectByConditionList(query) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd/selectByConditionList',
    method: 'get',
    params: query
  })
}
// 查询推广宝贝数据日报列表
export function selectProductStatistics(query) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd/selectProductStatistics',
    method: 'get',
    params: query
  })
}
// 查询推广宝贝数据日报列表
export function getSceneNameList(query) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd/getSceneNameList',
    method: 'get',
    params: query
  })
}
// 查询推广人群数据日报列表
export function listBiPromotionCrowdDwd(query) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd/list',
    method: 'get',
    params: query
  })
}

// 查询推广人群数据日报详细
export function getBiPromotionCrowdDwd(id) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd/' + id,
    method: 'get'
  })
}

// 新增推广人群数据日报
export function addBiPromotionCrowdDwd(data) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd',
    method: 'post',
    data: data
  })
}

// 修改推广人群数据日报
export function updateBiPromotionCrowdDwd(data) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd',
    method: 'put',
    data: data
  })
}

// 删除推广人群数据日报
export function delBiPromotionCrowdDwd(id) {
  return request({
    url: '/marketing/BiPromotionCrowdDwd/' + id,
    method: 'delete'
  })
}
